* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  /* font: inherit; */
  vertical-align: baseline;
  text-decoration: none;
}

body {
  height: 100vh;
  width: 100vw;
  font-family: Arial, sans-serif;
  background-color: #f2f2f2;
  margin: 0;
}

a {
  color: #3592fd;
}
.container {
  position: absolute;
  background-color: #fff;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  width: 80.21vw;
  height: 106.21vw;
  border-radius: 12px;
}
/* 头部 */
header {
  width: 100%;
  height: 2vh;
  padding-top: 3vh;
  /* background-color: skyblue; */
  position: relative;
}

.icon-arrows {
  width: 1.5vh;
  height: 1.5vh;
  /* background-color: red; */
  position: absolute;
  top: 40%;
  left: 5%;
}
.header-title {
  margin: auto;
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translate(-50%, 0);
  font-weight: 600;
}

/* 主体 */
section {
  width: 100%;
  height: 65vh;
  padding-top: 2vw;
  border-top: 2px solid #e9e9e9;
  background-color: #f2f2f2;
}

.title {
  width: 100%;
  height: 5vh;
  /* background-color: aqua; */
  display: flex;
  justify-content: center;
  padding-top: 4vh;
  font-weight: 300;
  font-size: 3vw;
  color: #adadad;
}

.form {
  width: 100%;
  height: 5vh;
  color: #555556;
  /* background-color: salmon; */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin-top: 2vh;
}
.form-line-one {
  display: flex;
  align-items: center;
}
.money {
  font-weight: 600;
}
#amount {
  font-size: 9vw;
}

.form-line-two {
  display: flex;
  align-items: center;
  width: 60%;
  height: 5vh;
  flex-direction: column;
  padding-top: 1vh;
  border-top: 2px solid #ebebeb;
  font-weight: 500;
  font-size: 1.5vw;
}

.balance {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 2vh;
  color: #ababab;
}

.discount {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: 0 2vh;
  color: #ababab;
}

#discount {
  color: #ea3a3a;
}

.main {
  width: 100%;
  height: 10vh;
  /* background-color: darkgoldenrod; */
  display: flex;
  justify-content: center;
  margin-top: 5vh;
}
main {
  width: 95%;
  height: 45vh;
  padding-top: 2vw;
  border-radius: 10px;
  /* background-color: #e3f0ff; */
  overflow: auto;
}

main > .line-three {
  width: 94%;
  height: 5vh;
  /* background-color: wheat; */
  margin: auto;
}

#new-account {
  width: 100%;
  height: 5vh;
  /* border: 3px solid #4C83E8; */
  /* background-color: wheat; */
  background-image: linear-gradient(to right, #4c83e8, #3ebde7, #4c83e8);
  border-radius: 15px;
  margin: auto;
  text-align: center;
  line-height: 5vh;
  font-size: 5vw;
  font-weight: 600;
  color: #fff;
}

main > .line-one {
  width: 90%;
  height: 15vh;
  margin: auto;
  margin-bottom: 3vh;
  background-color: #ffffff;
  border: 2px solid #ffffff;
  border-radius: 15px;
  padding: 2vw;
  display: flex;
  justify-content: center;
  flex-direction: column;
  overflow: auto;
  padding-top:21vw;
}

main > .line-one > .icon {
  width: 90%;
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main > .line-one > .icon > .icon-left {
  width: 35vw;
  height: 5vh;
  float: left;
  display: flex;
  align-items: center;
  font-size: 5vw;
}

main > .line-one > .icon > .icon-left > img {
  width: 7vw;
  height: 7vw;
}

main > .line-one > .icon > .icon-choose {
  width: 7vw;
  height: 7vw;
}
main > .line-one > .icon > .icon-choose > img {
  width: 7vw;
  height: 7vw;
}
.line {
  width: 90%;
  height: 0.2vh;
  margin: auto;
  background-color: #e5e5e5;
}
main > .line-one > .icon {
  width: 90%;
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

main > .line-one > .icon > .icon-left {
  width: 45vw;
  height: 5vh;
  float: left;
  display: flex;
  align-items: center;
  font-size: 5vw;
}

main > .line-one > .icon > .icon-left > img {
  width: 7vw;
  height: 7vw;
}

main > .line-one > .icon > .icon-choose {
  width: 7vw;
  height: 7vw;
}

main > .line-one > .icon > .icon-choose > img {
  width: 7vw;
  height: 7vw;
}

@media screen and (max-width: 320px) {
  .container {
    width: 258px;
    height: 342px;
  }

  .container > section {
    width: 257px;
    height: 557px;
    padding: 0.5px;
  }
  .container > section > .title {
    width: 257px;
    height: 76px;
    /* background-color: aqua; */
    display: flex;
    justify-content: center;
    padding-top: 33px;
    font-weight: 300;
    font-size: 3vw;
    color: #adadad;
  }
  .container > section > .title > .remaining-time {
    width: 115px;
    height: 42px;
  }
  .container > section > .form {
    width: 259px;
    height: 42px;
    color: #555556;
    /* background-color: salmon; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: -10px;
  }
  .container > section > .form > .form-line-one > .money {
    font-size: 16px;
  }
  .container > section > .form > .form-line-one > #amount {
    font-size: 29px;
  }
  .container > section > .form > .form-line-two {
    display: flex;
    align-items: center;
    width: 159px;
    height: 42px;
    flex-direction: column;
    padding-top: 8.4px;
    border-top: 2px solid #ebebeb;
    font-weight: 500;
    font-size: 1.5vw;
  }
  .container > section > .main > main {
    width: 247px;
    height: 302px;
    padding-top: 6.4px;
  }

  .container > section > .main > main > .line-one {
    width: 220px;
    height: 143px;
    margin: 0px 4px 25px;
    border-radius: 20px;
    padding: 6.5px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: auto;
    padding-top: 85px;
  }

  .container > section > .main > main > .line-one > .icon {
    width: 200px;
    height: 63px;
  }

  .container > section > .main > main > .line-one > .icon > .icon-left {
    width: 113px;
    height: 42px;
    font-size: 16px;
  }
  .container > section > .main > main > .line-one > .icon > .icon-left > img {
    width: 22.5px;
    height: 22.5px;
  }
  .container
  > section
  > .main
  > main
  > .line-one
  > .icon
  > .icon-choose
  > img {
    width: 22.6px;
    height: 22.6px;
  }

  .container > section > .main > main > .line-one > .icon {
    width: 200px;
    height: 63px;
  }

  .container > section > .main > main > .line-one > .icon > .icon-left {
    width: 145px;
    height: 42px;
    font-size: 16px;
  }
  .container > section > .main > main > .line-one > .icon > .icon-left > img {
    width: 22.5px;
    height: 22.5px;
  }
  .container
  > section
  > .main
  > main
  > .line-one
  > .icon
  > .icon-choose
  > img {
    width: 22.6px;
    height: 22.6px;
  }

  .container > section > .main > main .line-three {
    width: 231px;
    height: 42px;
    margin: 0 7px;
    padding: 0px;
  }

  .container > section > .main > main > .line-three > #new-account {
    width: 230px;
    height: 42px;
  }
}

@media screen and (min-width: 601px) and (max-width: 1024px) {
  .container {
    max-width: 90%;
    /* padding: 15px; */
  }
}

@media screen and (min-width: 450px) {
  .container {
    width: 360px;
    height: 477px;
  }

  .container > section {
    width: 342px;
    height: 560px;
    padding: 9px;
  }
  .container > section > .title {
    width: 360px;
    height: 76px;
    /* background-color: aqua; */
    display: flex;
    justify-content: center;
    padding-top: 33px;
    font-weight: 300;
    font-size: 13px;
    color: #adadad;
  }
  .container > section > .title > .remaining-time {
    width: 128px;
    height: 42px;
  }
  .container > section > .form {
    width: 360px;
    height: 42px;
    color: #555556;
    /* background-color: salmon; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 17px;
  }
  .container > section > .form > .form-line-one > .money {
    font-size: 16px;
  }
  .container > section > .form > .form-line-one > #amount {
    font-size: 40px;
  }
  .container > section > .form > .form-line-two {
    display: flex;
    align-items: center;
    width: 216px;
    height: 42px;
    flex-direction: column;
    padding-top: 8.4px;
    border-top: 2px solid #ebebeb;
    font-weight: 500;
    font-size: 12px;
  }
  .container > section > .main > main {
    width: 342px;
    height: 304px;
    padding-top: 9px;
  }

  .container > section > .main > main > .line-one {
    width: 312px;
    height: 149px;
    margin: 0px 6px 25px;
    border-radius: 15px;
    padding: 6.5px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    overflow: auto;
    padding-top: 80px;
  }

  .container > section > .main > main > .line-one > .icon {
    width: 277px;
    height: 63px;
  }

  .container > section > .main > main > .line-one > .icon > .icon-left {
    width: 157px;
    height: 42px;
    font-size: 16px;
  }
  .container > section > .main > main > .line-one > .icon > .icon-left > img {
    width: 31.4px;
    height: 31.4px;
  }
  .container > section > .main > main > .line-one > .icon > .icon-choose {
    width: 31.2px;
    height: 31.2px;
  }
  .container
  > section
  > .main
  > main
  > .line-one
  > .icon
  > .icon-choose
  > img {
    width: 31.4px;
    height: 31.4px;
  }

  .container > section > .main > main > .line-one > .icon {
    width: 277px;
    height: 63px;
  }

  .container > section > .main > main > .line-one > .icon > .icon-left {
    width: 175px;
    height: 42px;
    font-size: 16px;
  }
  .container > section > .main > main > .line-one > .icon > .icon-left > img {
    width: 31.4px;
    height: 31.4px;
  }

  .container > section > .main > main > .line-one > .icon > .icon-choose {
    width: 31.2px;
    height: 31.2px;
  }
  .container
  > section
  > .main
  > main
  > .line-one
  > .icon
  > .icon-choose
  > img {
    width: 31.4px;
    height: 31.4px;
  }

  .container > section > .main > main .line-three {
    width: 321.6px;
    height: 42px;
    margin: 0 10px;
    padding: 0px;
  }

  .container > section > .main > main > .line-three > #new-account {
    width: 321.2px;
    height: 46px;
    font-size: 22px;
    line-height: 46px;
  }
}
